package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户共识度表(sc_user_consensus)实体类
 *
 * @author zxy
 * @since 2024-08-24 21:56:44
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_consensus")
public class UserConsensus extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 初始化熔炼组数（只有26号之前的用户才有）
     */
    private Integer initSmeltSet;
    /**
     * 熔炼产出共识度系数
     */
    private BigDecimal smeltOutRatio;
    /**
     * 共识度
     */
    private BigDecimal consensusNum;

    @Version
    private Integer version;


}